package cn.itcast.bos.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.FixedArea;

public interface FixedAreaService {
	/**
	 * 分页查询
	 * @param spec
	 * @param pageable
	 * @return
	 */
	Page<FixedArea> findByPage(Specification<FixedArea> spec, Pageable pageable);

	/**
	 * 新增 定区
	 * @param model
	 */
	void addFixedArea(FixedArea model);

}
